package vn.vfriends.payment.service;

import java.io.Serializable;
import java.util.List;
import vn.vfriends.payment.jpa.entity.Page;

/**
 *
 * @author tuan@vfriends.vn
 */
public interface PageService extends Serializable {
    public void create(Page page) throws Exception;

    public void edit(Page page) throws Exception;

    public void destroy(Long id) throws Exception;

    public List<Page> findPages();

    public Page findPage(Long id);

    public Page findPageByName(String name);
    
    public Page findPageByLink(String link);
    
    public int getPageCount();
}
